#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QWidget>

class NatiavParentWidget;
class AntiVirusWork;

class QStackedLayout;
class MainWindow : public QWidget
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();

    void initUI();
    void initconnect();

public slots:
    void openAntiVirusHomePage();
    void openScanVirusPage();
private:
    QStackedLayout* mMainLayout;
    NatiavParentWidget* mAntiVirusWidget;
    AntiVirusWork* mAntiVirusWork;
};

#endif // MAINWINDOW_H
